package com.linkage.usercenter.dao;

import com.linkage.usercenter.pojo.entity.MgrLoginDaily;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MgrLoginDailyMapper {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(MgrLoginDaily record);

    MgrLoginDaily selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MgrLoginDaily record);

    int batchInsert(@Param("list") List<MgrLoginDaily> list);

    List<MgrLoginDaily> queryByDateAndDptCode(@Param("date")Integer date,@Param("dptCode") String dptCode);
}